package Utils;

import java.util.HashMap;

/**
 * The class contains the links to the online databases.<br>
 * See also:<br>
 * <a href="http://www.ncbi.nlm.nih.gov/genbank/collab/db_xref/">http://www.ncbi.nlm.nih.gov/genbank/collab/db_xref/</a>
 * 
 * 
 * @author Stefan Lorenz<br>
 * <br>26.11.2012
 */
@SuppressWarnings("serial")
public class DataBaseLink extends HashMap<String, String>{

	/**
	 * Constructor of the database link map
	 */
	public DataBaseLink() {
		this.put("/db_xref=\"GeneID", "http://www.ncbi.nlm.nih.gov/gene?term=");
		this.put("/db_xref=\"GO", "http://amigo.geneontology.org/cgi-bin/amigo/term_details?term=GO:");
		this.put("/db_xref=\"PDB", "http://www.rcsb.org/pdb/explore/explore.do?structureId=");
		this.put("/db_xref=\"HGNC", "http://www.genenames.org/data/hgnc_data.php?hgnc_id=");
		this.put("/db_xref=\"HGNC", "http://www.genenames.org/data/hgnc_data.php?hgnc_id=");
		this.put("ensembl", "http://www.ensembl.org/Multi/Search/Results?species=all;idx=;q=");
		this.put("/db_xref=\"GI", "http://www.ncbi.nlm.nih.gov/protein/");
		this.put("/db_xref=\"GOA","http://www.uniprot.org/uniprot/");
		this.put("/db_xref=\"HGNC","http://www.genenames.org/data/hgnc_data.php?hgnc_id=");
		//TODO:
		//Add all databases listed with xref tag
	}	
}
